package com.gy.smart.util;


import com.gy.smart.R;
import com.gy.smart.handle.HandleFragment;
import com.gy.smart.home.HomeFragment;
import com.gy.smart.life.LifeFragment;
import com.gy.smart.tool.ToolFragment;

/**
 * Created by 高岳 on 2016/7/4.
 * Describe:tabhost 枚举类
 */
public enum MainTabEnum {

    HOME(HomeFragment.class,"首页", R.drawable.tab_home),
    HANDLE(HandleFragment.class,"办事",R.drawable.tab_handle_btn),
    LIFE(LifeFragment.class,"生活",R.drawable.tab_life_btn),
    TOOL(ToolFragment.class,"工具",R.drawable.tab_tool_btn);

    public Class mClass;
    public String name;
    public int imgId;

    MainTabEnum(Class mClass, String name, int imgId) {
        this.mClass = mClass;
        this.name = name;
        this.imgId = imgId;
    }


}
